﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess
{
    /// <summary>
    /// 品种信息表
    /// </summary>
    [Table("breedinfo")]
    [PrimaryKey(nameof(merchantid), nameof(breedid))]
    public class BreedInfo
    {
        /// <summary>
        /// 商户主键
        /// </summary>
        public long merchantid { get; set; }

        /// <summary>
        /// 数据id
        /// </summary>
        public long breedid { get; set; }

        /// <summary>
        /// 品种名称
        /// </summary>
        public string? name { get; set; }
    }
}
